package com.wuye.services.impl;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wuye.common.dao.Dao;
import com.wuye.common.vo.CommonObjectVO;
import com.wuye.dao.ParkingTypeDao;
import com.wuye.entity.BaseEntity;
import com.wuye.entity.ParkingType;
import com.wuye.services.ParkingTypeServiceManager;

@Service("parkingTypeService")
public class ParkingTypeServiceManagerImpl implements ParkingTypeServiceManager
{
	@Autowired
	private ParkingTypeDao parkingTypeDao;
	
	public void save(BaseEntity baseEntity) {
		// TODO Auto-generated method stub
		
	}

	public void setDao(Dao dao) {
		// TODO Auto-generated method stub
		
	}

	public List getObjects(Class clazz) {
		// TODO Auto-generated method stub
		return null;
	}

	public Object getObject(Class clazz, Serializable id) {
		// TODO Auto-generated method stub
		return null;
	}

	public void saveObject(Object o) {
		// TODO Auto-generated method stub
		
	}

	public void removeObject(Class clazz, Serializable id) {
		// TODO Auto-generated method stub
		
	}

	public void updateObjectInvalid(Object o) {
		// TODO Auto-generated method stub
		
	}

	public List<CommonObjectVO> getParkingTypes(int communityId) 
	{
		return parkingTypeDao.getParkingTypes(communityId);
	}

	public ParkingType getParkingType(int parkingTypeId) 
	{
		return parkingTypeDao.getParkingType(parkingTypeId);
	}

}
